﻿using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;

namespace Fee.Mapping
{
    public class OrderContractMapping : IEntityTypeConfiguration<OrderContract>
    {
        public void Configure(EntityTypeBuilder<OrderContract> builder)
        {
            builder.HasKey(_ => _.Id);
            builder.Property(_ => _.No);
        }
    }
}